﻿using Ace.AutoMapper;
using Ace.Entity.Wiki;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Ace.Application.Wiki
{
    public class CKLogInputBase: ValidationModel
    {
        public string CateID { get; set; }

        public string Code { get; set; }

        public int Num { get; set; }

        public DateTime CreateDate { get; set; }
    }


    [MapToType(typeof(CKLog))]
    public class AddCKLogInput : CKLogInputBase
    { 
    }

    [MapToType(typeof(CKLog))]
    public class UpdateCKLogInput : CKLogInputBase
    {
        [RequiredAttribute(ErrorMessage = "{0}不能为空")]
        public string Id { get; set; }
    }
}
